package com.service;

import com.pojo.Course;

import java.util.List;

public interface CourseService {
    int addCourse(Course course);

    int deleteCourseById(long id);

    int updateCourse(Course course);

    Course queryById(long id);

    List<Course> queryAllCourse();

    List<Course> getListById(long id);
}
